package com.dao.purchase; 

import com.model.purchase.ReceiveGoodModel; 
import java.sql.SQLException;
import java.util.List; 
import java.util.Map; 
import org.apache.ibatis.annotations.Param; 

public interface ReceiveGoodDao  { 

	/**
	 * 新增
	 * 
	 * @author chenjun
	 * @date 2022/03/10
	 **/
	int insert(ReceiveGoodModel receiveGoodModel);

	
	int deleteByGodId(String godId);
	
	List<ReceiveGoodModel> selectByGodId(String godId);
	
	/**
	 * 刪除
	 * 
	 * @author chenjun
	 * @date 2022/03/10
	 **/
	int delete(@Param("godId")String godId);

	/**
	 * 更新
	 * 
	 * @author chenjun
	 * @date 2022/03/10
	 **/
	int update(ReceiveGoodModel receiveGoodModel);

	/**
	 * 查询 根据主键 id 查询
	 * 
	 * @author chenjun
	 * @date 2022/03/10
	 **/
	ReceiveGoodModel load(String godId);


	// 列表
	List<ReceiveGoodModel> selectList(Map<String, Object> map);

	// 列表总数
	int selectListCount(Map<String, Object> map);

	// 查询六大费用收货单列表
	List<ReceiveGoodModel> selectSixCostReceiveList(Map<String, Object> map);

	// 查询六大费用收货单列表总数
	int selectSixCostReceiveListCount(Map<String, Object> map);


 }